#ifndef __INTERRUPT_H
#define __INTERRUPT_H

#include <msp430.h>
#include "display.h"

extern char digit;

extern char flag_ButtonPressing;
extern char flag_ButtonPressed;
extern char flag_ButtonHolded;
extern char flag_SpeedChanged;
extern char on_motor;
extern unsigned int speed;
extern char flag_running;
extern unsigned int count_pwm;
extern unsigned int test_speed;

extern char ButtonPressed;

extern char n[4],pos;

extern int sec, min, hour;
extern char flag_1s;
extern int count_1ms;

extern char disp;

//__interrupt void Timer_A(void);
__interrupt void Timer_A0_A1(void);
__interrupt void Timer_A0_A0 (void);
__interrupt void Timer_A1_A0 (void);

#endif
